let express = require('express');
let router = express.Router();
let userController = require('../app/modules/user/user.controller');

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('login', { title: 'IR4 Domain Integration Knowledge Base System' });
});

router.post('/login', userController.login);

module.exports = router;
